﻿using Core.Framework.Model.WebSockets;
using System;
using System.Collections.Generic;
using System.Text;

namespace Core.IBusiness.IPushModule.Model
{
    /// <summary>
    /// 自定义推送信息
    /// </summary>
    public class BroadcastCustomModel : BaseBroadcastPush<BroadcastCustomContent>
    {

    }

    /// <summary>
    /// 消息内容
    /// </summary>
    public class BroadcastCustomContent
    {
        /// <summary>
        /// 消息类型
        /// </summary>
        public string Type
        {
            get
            {
                return "operate-custom-broadcast";
            }
        }

        /// <summary>
        /// 文章信息
        /// </summary>
        public List<BroadcastCustomItem> Urls { get; set; }
    }

    /// <summary>
    /// 运营消息模板
    /// </summary>
    public class BroadcastCustomItem
    {

        /// <summary>
        /// 标题
        /// </summary>
        public string Title { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public string Text { get; set; }

        /// <summary>
        /// 展示图片
        /// </summary>
        public string Img { get; set; }

        /// <summary>
        /// 地址
        /// </summary>
        public string Src { get; set; }

    }


}
